package com.ecb.business.repository;

import com.ecb.business.po.ChainNodeRelPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ChainNodeRelDao extends JpaRepository<ChainNodeRelPO, Integer> {

    List<ChainNodeRelPO> findAllByChainIdAndStatusEquals(int chainId, int status);
}
